<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/ajax.js"></script>
    <script>


        function addCart(){
            var experience = document.getElementById("area");
            get("Getindex3Servlet?experience="+experience.value,
                function(res){
                    alert(res.msg);
                });
        }
    </script>
</head>
<style type="text/css">
      #area {
          width: 300px;
          height: 300px;
      }
</style>
<body>
<h1>教育经历</h1>
<form action="../Getindex3Servlet">
    教育经历:<textarea id="area" name="experience" >小学、初中、高中...</textarea><br>
    <button type="button" onclick="addCart()">提交</button>
    <a href="GetInformationServlet" >查看结果</a>
</form>
</body>
</html>